package cn.edu.wynu.springbootlearn.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Student {
    @Value("${liSi.name}")
    public String name;

    @Value(("${liSi.age}"))
    public Integer age;
}
